
import axios from '~/axios'
export function userlogin(data) {
  return axios.get('/homepage/selhomepageinfo/1')
}

// 类型
export function getType(data) {
  return axios.post('/dict/separate', data)
}

export function needshowinfo(userid) {
  return axios.get(`/homepage/needshowinfo/${userid}`)
}

// 需求中心
export function insdemand(data) {
  return axios.post('/demand/insdemand', data)
}

// 关于我们
export function census() {
  return axios.get('/homepage/census')
}

// 合作案例分页
export function selcooperation(data) {
  return axios.post('/cooperation/selcooperation', data)
}

// 合作详情
export function selcooperationbyid(id) {
  return axios.get(`/cooperation/selcooperationbyid/${id}`)
}

// 上传简历
export function uploadresume(data) {
  return axios.post('/talentcenter/insertresumeinfo', data)
}
